home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr10 / snr503.zip / WS2PLAIN.S < prev   
Text File  |  1993-05-30  |  1KB  |  43 lines

  1. \  WS2PLAIN.S
  2. \  put Wordstar codes to ascii, strip 8th bit from each character
  3.  
  4. \\L7
  5.  
  6. \  The following conversions handle ignoring DOT commands
  7. \  basically, when a dot is seen at the beginning of a line,
  8. \  any other characters after it should be ignored until end of line.
  9.  
  10. \s.=*ig              \ if start of job precedes a dot command, begin global ignore
  11. \0d\0a.=*ig          \ dot command a-comin' in text; turn on global ignore
  12. \0d\0a=\0d\0a*ix     \ end of line cancels global ignore
  13.  
  14. \13*10=<i>*11        \ start italic
  15. \13*11=<ix>*10       \ end italic
  16. \02*20=<b>*21        \ start bold
  17. \02*21=<bx>*20       \ end bold
  18. \14*40=<sup>*41      \ superior
  19. \14*41=<inf>*40      \ inferior
  20. \1E=                 \ soft hyphen
  21. \1f=                 \ another hyphen
  22. \1e\0d\0a=-\0d\0a    \ soft hyphen before end of line
  23. \1f\0d\0a=-\0d\0a    \ another hyphen before end of line
  24. \04*30=<d>*31        \ start double strike
  25. \04*31=<dx>*30       \ end double strike
  26. \16*50=<inf>*51      \ inferior
  27. \16*51=<sup>*50      \ superior
  28. \0F=\20              \ required space
  29.  
  30. \0E=<^n>             \ some printer codes which are undefined in ASCII
  31. \01=<^a>
  32. \11=<^q>
  33. \17=<^w>
  34. \05=<^e>
  35. \06=<^f>
  36. \07=<^g>
  37. \12=<^r>
  38. \03=<^c>
  39. \19=<^y>
  40. \18*50=<^x>*51   
  41. \18*51=<^X>*50
  42. _=\20                \ underscore line
  43.